@import url(http://fonts.googleapis.com/css?family=Cabin:400);

html,body {
	margin: 0;
	padding: 0;
}

 

.webdesigntuts-workshop {
	background: #151515;
	height: 100%;
	position: absolute;
	text-align: center;
	width: 100%;
}

.webdesigntuts-workshop:before,
.webdesigntuts-workshop:after {
	content: '';
	display: block;	
	height: 1px;
	left: 50%;
	margin: 0 0 0 -400px;
	position: absolute;
	width: 800px;
}

.webdesigntuts-workshop:before {
	background: #444;
	background: -webkit-linear-gradient(left, #151515, #444, #151515);
	background: -moz-linear-gradient(left, #151515, #444, #151515);
	background: -o-linear-gradient(left, #151515, #444, #151515);
	background: -ms-linear-gradient(left, #151515, #444, #151515);
	background: linear-gradient(left, #151515, #444, #151515);
	top: 192px;
}

.webdesigntuts-workshop:after {
	background: #000;
	background: -webkit-linear-gradient(left, #151515, #000, #151515);	
	background: -moz-linear-gradient(left, #151515, #000, #151515);	
	background: -o-linear-gradient(left, #151515, #000, #151515);	
	background: -ms-linear-gradient(left, #151515, #000, #151515);	
	background: linear-gradient(left, #151515, #000, #151515);	
	top: 191px;
}

.webdesigntuts-workshop .search-box {
	background: #111;
	background: -webkit-linear-gradient(#1b1b1b, #111);
	background: -moz-linear-gradient(#1b1b1b, #111);
	background: -o-linear-gradient(#1b1b1b, #111);
	background: -ms-linear-gradient(#1b1b1b, #111);
	background: linear-gradient(#1b1b1b, #111);
	border: 1px solid #000;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1px #272727;
	display: inline-block;
	font-size: 0px;
	margin: 150px auto 0;
	padding: 20px;
	position: relative;
	z-index: 1;
}

.webdesigntuts-workshop input {
	background: #222;
	background: -webkit-linear-gradient(#333, #222);	
	background: -moz-linear-gradient(#333, #222);	
	background: -o-linear-gradient(#333, #222);	
	background: -ms-linear-gradient(#333, #222);	
	background: linear-gradient(#333, #222);	
	border: 1px solid #444;
	border-radius: 5px 0 0 5px;
	box-shadow: 0 2px 0 #000;
	color: #888;
	display: block;
	float: left;
	font-family: 'Cabin', helvetica, arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	height: 40px;
	margin: 0;
	padding: 0 10px;
	text-shadow: 0 -1px 0 #000;
	width: 200px;
}

.ie .webdesigntuts-workshop input {
	line-height: 40px;
}

.webdesigntuts-workshop input::-webkit-input-placeholder {
   color: #888;
}

.webdesigntuts-workshop input:-moz-placeholder {
   color: #888;
}

.webdesigntuts-workshop input:focus {
	-webkit-animation: glow 800ms ease-out infinite alternate;
	-moz-animation: glow 800ms ease-out infinite alternate;
	-o-animation: glow 800ms ease-out infinite alternate;
	-ms-animation: glow 800ms ease-out infinite alternate;
	animation: glow 800ms ease-out infinite alternate;
	background: #222922;
	background: -webkit-linear-gradient(#333933, #222922);
	background: -moz-linear-gradient(#333933, #222922);
	background: -o-linear-gradient(#333933, #222922);
	background: -ms-linear-gradient(#333933, #222922);
	background: linear-gradient(#333933, #222922);
	border-color: #393;
	box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
	color: #efe;
	outline: none;
}

.webdesigntuts-workshop input:focus::-webkit-input-placeholder { 
	color: #efe;
}

.webdesigntuts-workshop input:focus:-moz-placeholder {
	color: #efe;
}

.webdesigntuts-workshop button {
	background: #222;
	background: -webkit-linear-gradient(#333, #222);
	background: -moz-linear-gradient(#333, #222);
	background: -o-linear-gradient(#333, #222);
	background: -ms-linear-gradient(#333, #222);
	background: linear-gradient(#333, #222);
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	-o-box-sizing: content-box;
	-ms-box-sizing: content-box;
	box-sizing: content-box;
	border: 1px solid #444;
	border-left-color: #000;
	border-radius: 0 5px 5px 0;
	box-shadow: 0 2px 0 #000;
	color: #fff;
	display: block;
	float: left;
	font-family: 'Cabin', helvetica, arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	height: 38px;
	line-height: 38px;
	margin: 0;
	padding: 0;
	position: relative;
	text-shadow: 0 -1px 0 #000;
	width: 80px;
}	

.webdesigntuts-workshop button:hover,
.webdesigntuts-workshop button:focus {
	background: #292929;
	background: -webkit-linear-gradient(#393939, #292929);	
	background: -moz-linear-gradient(#393939, #292929);	
	background: -o-linear-gradient(#393939, #292929);	
	background: -ms-linear-gradient(#393939, #292929);	
	background: linear-gradient(#393939, #292929);
	color: #5f5;
	outline: none;
}

.webdesigntuts-workshop button:active {
	background: #292929;
	background: -webkit-linear-gradient(#393939, #292929);
	background: -moz-linear-gradient(#393939, #292929);
	background: -o-linear-gradient(#393939, #292929);
	background: -ms-linear-gradient(#393939, #292929);
	background: linear-gradient(#393939, #292929);
	box-shadow: 0 1px 0 #000, inset 1px 0 1px #222;
	top: 1px;
}

@-webkit-keyframes glow {
    0% {
		border-color: #393;
		box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #6f6;
		box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000;
    }
}

@-moz-keyframes glow {
    0% {
		border-color: #393;
		box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #6f6;
		box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000;
    }
}

@-o-keyframes glow {
    0% {
		border-color: #393;
		box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #6f6;
		box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000;
    }
}

@-ms-keyframes glow {
    0% {
		border-color: #393;
		box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #6f6;
		box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000;
    }
}

@keyframes glow {
    0% {
		border-color: #393;
		box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #6f6;
		box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000;
    }
}

 
#search {
	max-width:717px;
	margin:56px auto 14px
}


#search form {
	position:relative
}

#search-text {
	padding:9pt;
	width:100%;
	height:50px;
	font-size:1pc;
	border:0;
	border-radius:3px;
	background-color:#fff
}

#search button {
	position:absolute;
	top:0;
	right:0;
	background:#313437;
	border:0;
	width:60px;
	height:36px;
	margin:7px 9pt 0;
	line-height:36px;
	border-radius:3px
}

#search button:hover {
	background:#000;
	cursor:pointer
}

#search button i {
	color:#fff;
	font-size:18px
}

.search-group {
	display:none; 
	padding:15px;
	margin: 15px;
}

.s-current .search-type {
	padding-left:0;
	display:block
}

.s-current{
	display:block;
}

#search-list {
	position:relative
}

.s-type {
	position:absolute;
	top:0;
	left:0;
	z-index:13;
	width:75px
}

.s-type:hover {
	height:auto
}

.s-type>span {
	display:block; 
	height:31px;
	width:75px
}

.s-type-list {
	display:none;
	position:absolute;
	top:31px;padding:9pt 0;
	width:20pc;
	background:#fff;
	border-radius:4px;
	box-shadow:0 0 6px rgba(0,0,0,.16)
}

.s-type-list:before {
	position:absolute;
	top:-1pc;
	left:10px;
	content:' ';
	display:block;
	width:0;
	height:0;
	border:10px solid transparent;
	border-bottom-color:#fff
}

.s-type-list label{
	display:block;
	font-size:1pc;
	line-height:2pc;
	text-align:center;
	width:33%;
	float:left
}

.s-type-list .tile-lg { 
	color:#fff;
	width:3pc;
	height:3pc;
	font-size:1.25rem;
	line-height:3rem;
	border-radius:.3rem;
	display:block;
	margin:auto
}

.bg-blue {
	background-color:#0179a8!important
}

.bg-purple {
	background-color:#5f4b8b!important
}

.bg-pink {
	background-color:#b76ba3!important
}

.bg-red {
	background-color:#ea6759!important
}

.bg-orange{
	background-color:#ec935e!important
}

.bg-yellow{
	background-color:#f7c46c!important
}

.bg-green{
	background-color:#a7c796!important
}
.bg-teal{
	background-color:#00a28a!important
}
.bg-cyan{
	background-color:#3686a0!important
}
.bg-gray{
	background-color:#686f76!important
}

.s-type-list label:hover{
	color:#000;
	color:rgb(182, 226, 252)
}

.s-type:hover .s-type-list{
	display:block;padding-top:22px
}

.type-text{
	position:absolute;
	left:0;
	width:75px;
	padding-left:9pt;
	font-size:1pc;
	line-height:31px
}

.type-text:after{
	content:"\f105";
	font-family:FontAwesome;
	margin:0 0 0 15px
}

.search-type{
	white-space:nowrap;
	margin:0
}

.search-type label{
	margin:0
}

.search-type li{
	display:inline-block;
	margin: 5px;
}

.search-type li label{
	display:inline-block;
	padding:0 11px;
	font-size:14px;
	line-height:31px;
	border-radius:3px 3px 0 0;
	cursor:pointer
}

.search-type input:checked+label,.search-type input:hover+label{
	background-color:rgb(39, 58, 31)
}

.set-check{
	margin-top:3px;
	font-size:9pt
}

.set-check label{
	margin-left:3px
}
.set-check input,.set-check label{
	opacity:0;
	transition:all .3s ease
}
.search-type li{
	list-style:none;
	display:inline-block;	
}

.search-type li input{
	display:none;	
}

.fa-2x{
	padding-top: 15px;
	font-size: 1.5em;
}


/* 导航 */
.pages-container {
	width: 500px;
	height: 150px;
	max-width:717px;
	margin:0 auto;
}

.pages-container div{
	display: inline-flex;
	padding: 7%;
	margin: 10px;
	border-radius: 5%;
}
.pages-container a{
	text-decoration:none;
	color:rgb(253, 251, 251);
}

.pages-container span {
	font-family: 宋体, 'Courier New', Courier, monospace;
	font-weight: bold;
	font-size: 1.5em;
}

.page-logo-search {
	background: url(../images/search-logo.png) no-repeat; 
	background-size:cover;
	box-shadow:-2px 3px 5px white;
}

.page-logo-learn {
	background: url(../images/learn-logo.png) no-repeat;
	background-size:cover;
	box-shadow:0px 3px 5px white;
}

.page-logo-project {
	background: url(../images/project-logo.png) no-repeat;
	background-size:cover;
	box-shadow:2px 3px 5px white;
}
 

/* 自适应 */

@media screen and (max-width:767px){
	#search{
		margin:25px auto 15px;
		width: 85%;
	}
	.pages-container{
		margin:25px auto 15px
	}
	.search-type{
		overflow:scroll
	}
	.search-list{
		height:30px;
		overflow-y:hidden;
		overflow-x:scroll;
		white-space:nowrap
	}
	.pages-container {
		width: 100px;
		height: 50px;
		max-width:767px;
		margin:0 auto;
	}

	.webdesigntuts-workshop {
		background: #151515;
		height: 100%;
		position: absolute;
		text-align: center;
		width: 100%;
	}

	.webdesigntuts-workshop:before,
	.webdesigntuts-workshop:after {
	content: '';
	display: block;	
	height: 1px;
	left: 50%;
	margin: 0 0 0 -400px;
	position: absolute;
	width: 80%;
	}

	.nav-logo {
	    padding: 20% !important;
		font-size: 1.2rem;
		height: 80px;
		line-height: 50px;
		width: 80px;

	}
}

@media screen and (max-width:359px){
	#search{
		margin:20px auto 10px;
		width: 85%;
	}
	
	.pages-container{
		margin:20px auto 10px
	}
	.search-type{
		overflow:scroll
	}
	.search-list{
		height:30px;
		overflow-y:hidden;
		overflow-x:scroll;
		white-space:nowrap
	}

	.pages-container {
		width: 100px;
		height: 50px;
		max-width:359px;
		margin:0 auto;
	}

	.nav-logo {
		padding: 13% !important;
		font-size: 1rem;
		height: 50px;
		line-height: 20px;
		width: 60px;
	}
}
